home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / updates / update24.zoo / lib / diffc < prev    next >
Text File  |  1992-08-14  |  7KB  |  252 lines

  1. *** 1.79    1992/07/20 21:54:54
  2. --- Changelo    1992/08/14 14:43:45
  3. ***************
  4. *** 3204,3206 ****
  5. --- 3204,3265 ----
  6.       problem.
  7.   
  8.   ---------------------------- Patchlevel 82 ---------------------------
  9. + crt0.c:: ++jrb
  10. +     add extern references to ident strings for all libraries
  11. +     so that the libraries that are linked in have their ident
  12. +     strings linked into the executable. (so that ident <executable>
  13. +     reveals all Patchlevels of all things linked in).
  14. +     For satisfying the references of the libraries that are not linked
  15. +     we include dummy symbols in gnu.olb.
  16. + il.c ic.c iw.c ig.c ip.c:: ++jrb
  17. +     the files containing dummies.
  18. + mincl:: ++jrb
  19. +     add targets for above.
  20. + limits.h: alexander
  21. +     I did some further investigating into the LONG_MIN problem and
  22. +         I found out why the native gcc on my NeXT did create correct
  23. +     code while the ST version didn't. The new gcc installs a limits.h
  24. +     file that first includes the system limits.h and the redefines
  25. +     some of the constants. LONG_MIN is defined as -LONG_MAX-1 which
  26. +     is of course equal to -2<<31, but somehow compiles correctly.
  27. +     I changed the ST limits.h defined the constant the same way and I
  28. +         added the definition for long long limits from the gcc2.x limits.h.
  29. +         This will probably be never used, but it can't hurt, I guess.
  30. + stricmp.c strnicmp.c:: alexander
  31. +     case-insensative verions of strcmp and strncmp. good for
  32. +     TC compatibility.
  33. + mincl:: ++jrb
  34. +     add targets for above
  35. + string.h:: ++jrb
  36. +     add protos for above.
  37. + binmode.c:: ++jrb
  38. +     pull __default_mode__ out into its own module.
  39. + defmode.c:: ++jrb
  40. +     new file, defining __default_mode__, so that it may be pulled in
  41. +     from here when undefined by user. previously it was
  42. +     bundled in with binmode, that caused binmode() to be pulled
  43. +     in along with it.
  44. + mincl:: ++jrb
  45. +     add target for  above.
  46. + fwrite.c:: ++jrb
  47. +     when writing out in text mode was returning len+#of CR's in
  48. +     buffer, instead of just len of buffer. this showed up with
  49. +     ghostscript 2.41. To fix this, we compensate by decrementing
  50. +     the counter `l' when we add a CR  since `l' is incremented
  51. +     at the bottom of the loop. We could have also fixed by checking
  52. +     `wrote_cr' before incrementing `l' but we dont because mostly
  53. +     this condition would be false and we would have more overhead
  54. +     in the common case.
  55. + ---------------------------- Patchlevel 83 ---------------------------
  56. *** 1.58    1992/07/20 21:54:54
  57. --- PatchLev.h    1992/08/14 14:43:46
  58. ***************
  59. *** 1,5 ****
  60.   
  61. ! #define    PatchLevel "82"
  62.   
  63.   /*
  64.    *
  65. --- 1,5 ----
  66.   
  67. ! #define    PatchLevel "83"
  68.   
  69.   /*
  70.    *
  71. *** 1.21    1992/03/22 21:57:30
  72. --- crt0.c    1992/08/14 14:43:49
  73. ***************
  74. *** 121,126 ****
  75. --- 121,139 ----
  76.   /* are we on a split addr mem ST */
  77.   short _split_mem = 0;
  78.   
  79. + /* externs to pull in ident strings of all used libraries into the
  80. +    executable. if a library is not used, then the extern is satisfied
  81. +    by a dummy in the library
  82. +  */
  83. + asm("
  84. +     .globl ___Ident_libg
  85. +     .globl ___Ident_curses
  86. +     .globl ___Ident_widget
  87. +     .globl ___Ident_gem
  88. +     .globl ___Ident_pml
  89. +     .globl ___Ident_gnulib
  90. +      ");
  91.   static void _acc_main __PROTO((void));
  92.   static void _start1 __PROTO((BASEPAGE *bp));
  93.   static long parseargs __PROTO((BASEPAGE *bp));
  94. *** 1.22    1992/04/06 19:33:32
  95. --- main.c    1992/08/14 14:43:52
  96. ***************
  97. *** 66,72 ****
  98.       register FILE *f;
  99.       register int i;
  100.        char *s, *t, *new;
  101. !     extern int __default_mode__; /* in binmode.c or defined by user */
  102.       int main(int, char **, char **);
  103.   
  104.       _start_time = 0;    /* for dumped prgs */
  105. --- 66,72 ----
  106.       register FILE *f;
  107.       register int i;
  108.        char *s, *t, *new;
  109. !     extern int __default_mode__; /* in defmode.c or defined by user */
  110.       int main(int, char **, char **);
  111.   
  112.       _start_time = 0;    /* for dumped prgs */
  113. *** 1.20    1992/06/01 01:57:48
  114. --- mincl    1992/08/14 14:43:52
  115. ***************
  116. *** 15,21 ****
  117.   GCC=     $(GLIB1) $(GLIB2) \
  118.       ldexp.o frexp.o modf.o alloca.o setjmp.o osbind.o\
  119.       linea.o  alglobal.o sysvar.o gmon.o screen.o stksiz.o binmode.o \
  120. !     bblink.o
  121.   #
  122.   # ANSI stuff + support
  123.   ANSI =  atol.o atof.o abort.o bsearch.o \
  124. --- 15,21 ----
  125.   GCC=     $(GLIB1) $(GLIB2) \
  126.       ldexp.o frexp.o modf.o alloca.o setjmp.o osbind.o\
  127.       linea.o  alglobal.o sysvar.o gmon.o screen.o stksiz.o binmode.o \
  128. !     bblink.o defmode.o
  129.   #
  130.   # ANSI stuff + support
  131.   ANSI =  atol.o atof.o abort.o bsearch.o \
  132. ***************
  133. *** 36,43 ****
  134.   # other portable stuff
  135.   PORT =  alphasor.o abs.o catch.o dirent.o findfile.o ftw.o getpw.o \
  136.       getlogin.o getopt.o getpass.o ident.o mktemp.o scandir.o strlwr.o \
  137. !     strrev.o regexp.o regsup.o textio.o random.o obstack.o
  138.   #
  139.   # the string library
  140.   
  141. --- 36,43 ----
  142.   # other portable stuff
  143.   PORT =  alphasor.o abs.o catch.o dirent.o findfile.o ftw.o getpw.o \
  144.       getlogin.o getopt.o getpass.o ident.o mktemp.o scandir.o strlwr.o \
  145. !     strrev.o regexp.o regsup.o textio.o random.o obstack.o \
  146. !     il.o ic.o iw.o ig.o ip.o
  147.   #
  148.   # the string library
  149.   
  150. ***************
  151. *** 44,50 ****
  152.   STRING = strcat.o strchr.o strcmp.o strcpy.o strcspn.o strdup.o \
  153.       strlen.o strncat.o strncmp.o strncpy.o strpbrk.o strrchr.o strspn.o \
  154.       strtok.o strstr.o memccpy.o memcmp.o memchr.o \
  155. !     bcopy.o bcmp.o bzero.o strerror.o strcoll.o
  156.   #
  157.   # stuff to fake unix system calls 
  158.   
  159. --- 44,51 ----
  160.   STRING = strcat.o strchr.o strcmp.o strcpy.o strcspn.o strdup.o \
  161.       strlen.o strncat.o strncmp.o strncpy.o strpbrk.o strrchr.o strspn.o \
  162.       strtok.o strstr.o memccpy.o memcmp.o memchr.o \
  163. !     bcopy.o bcmp.o bzero.o strerror.o strcoll.o \
  164. !     stricmp.o strnicmp.o
  165.   #
  166.   # stuff to fake unix system calls 
  167.   
  168. *** 1.1    1991/12/26 15:53:59
  169. --- binmode.c    1992/08/14 14:56:29
  170. ***************
  171. *** 7,21 ****
  172.    *                ++jrb;
  173.    */
  174.   
  175. - /* moved to a separate module, so that people who want to can put
  176. -  * __default_mode__ = _IOBIN in their main program without getting
  177. -  * a link conflict; moreover, this allows stdin and stdout to be
  178. -  * binary mode by default as well. ++ERS
  179. -  */
  180.   
  181.   #include <stdio.h>
  182.   
  183. ! int __default_mode__ = 0;
  184.   
  185.   void _binmode(force)
  186.   int force;
  187. --- 7,16 ----
  188.    *                ++jrb;
  189.    */
  190.   
  191.   
  192.   #include <stdio.h>
  193.   
  194. ! extern int __default_mode__;
  195.   
  196.   void _binmode(force)
  197.   int force;
  198. *** 1.11    1992/06/01 01:54:10
  199. --- fdopen.c    1992/08/14 14:56:32
  200. ***************
  201. *** 9,15 ****
  202.       register int h;
  203.       const register char *mode;
  204.   {
  205. !     extern int __default_mode__;    /* see binmode.c */
  206.       register int i, iomode = 0, f = __default_mode__;
  207.       register FILE *fp = NULL;
  208.       void _getbuf __PROTO((FILE *));
  209. --- 9,15 ----
  210.       register int h;
  211.       const register char *mode;
  212.   {
  213. !     extern int __default_mode__;    /* see defmode.c */
  214.       register int i, iomode = 0, f = __default_mode__;
  215.       register FILE *fp = NULL;
  216.       void _getbuf __PROTO((FILE *));
  217. *** 1.11    1992/03/28 06:40:31
  218. --- fwrite.c    1992/08/14 14:56:35
  219. ***************
  220. *** 86,91 ****
  221. --- 86,92 ----
  222.               *fp->_ptr++='\r';
  223.               wrote_cr=1;
  224.               have_nl=1;
  225. +                 l--;    /* compensate for the increment below */
  226.             } else {
  227.               *fp->_ptr++='\n';
  228.               data++;
  229. *** 1.1    1991/05/30 04:09:55
  230. --- ident.c    1992/08/14 14:56:38
  231. ***************
  232. *** 1,2 ****
  233.   #include "PatchLev.h"
  234. ! static char Ident[] = "$Patchlevel: " PatchLevel " $";
  235. --- 1,2 ----
  236.   #include "PatchLev.h"
  237. ! char __Ident_gnulib[] = "$PatchLevel: atariST/TT-TOS Gnulib: " PatchLevel " $";
  238.